import os

from flask import Blueprint, request, jsonify

from applications.common.utils.http import fail_api, success_api, table_api

dir_path = os.path.dirname(os.path.realpath(__file__)).replace('\\', '/')

bp = Blueprint('dev', __name__, 
url_prefix='/dev', 
static_folder=dir_path + '/static', 
template_folder=dir_path + '/templates')

@bp.route("/")
def index():
    return success_api('dev/index')